<%@page defaultCodec="none" %>
<!DOCTYPE html>
<html>
	<head>
		<meta name="layout" content="main"/>
		<title><g:message code="welcome.label"/></title>
		
		<jawr:script src="/i18n/messages.js"/>
		
		<script type="text/javascript">
			var userLoggedIn = ${ session.user? raw(session.user): 'null'};
			 
			
		</script>
		
	</head>
	<body>
	
		<div id="error-container"></div>
		
		<div id="app-container"></div>
		
		<g:render template="/templates/error"></g:render>
			
		<g:render template="/login/login"></g:render>
			
		<g:render template="/templates/welcome"></g:render>
		
		<g:render template="/serviceModel/table_panel"></g:render>
		
		<g:render template="/serviceModel/table_panel_row"></g:render>
		
		<script data-main="${resource(dir:'js/app', file:'main') }" src="${resource(dir:'lib', file:'require.js') }"></script>
	</body>
</html>
